var wtobj = function()
{
	var r =  Math.random();
	}
wtobj.prototype.draw=function()
{
	
	if (r<0.5)
     {   var ran =  Math.random();
        if(ran<0.17)
		{
			var q = 1;
			}
		else if(ran>0.17&&ran<0.25)
		{
			var q = 2;
			}
		else if(ran>0.25&&ran<0.35)
		{
			var q = 3;
			}
		else if(ran>0.35&&ran<0.49)
		{
			var q = 4;
			}
		else if(ran>0.49&&ran<0.51)
		{
			var q = 5;
			}
		else if(ran>0.51&&ran<0.6)
		{
			var q = 6;
			}
		else if(ran>0.6&&ran<0.7)
		{
			var q = 7;
			}
		else if(ran>0.7&&ran<0.85)
		{
			var q = 8;
			}
		else
		{
			var q = 9;
			}
	 ctx1.drawImage(dui[q],350,400,100,100);
	 }
	 else
	 {  var ran =  Math.random();
        if(ran<0.17)
		{
			var q = 1;
			}
		else if(ran>0.17&&ran<0.25)
		{
			var q = 2;
			}
		else if(ran>0.25&&ran<0.35)
		{
			var q = 3;
			}
		else if(ran>0.35&&ran<0.49)
		{
			var q = 4;
			}
		else if(ran>0.49&&ran<0.51)
		{
			var q = 5;
			}
		else if(ran>0.51&&ran<0.6)
		{
			var q = 6;
			}
		else if(ran>0.6&&ran<0.7)
		{
			var q = 7;
			}
		else if(ran>0.7&&ran<0.85)
		{
			var q = 8;
			}
		else
		{
			var q = 9;
			}
		 
		ctx1.drawImage(cuo[q],350,400,100,100);
		 }
	 
			


	}